package org.springblade.tms.module.inquirysheet.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.module.inquirysheet.vo
 * @className: InquiryItemSaveVo
 * @author: yr
 * @description: 新增报价入参
 * @date: 2022/6/24 16:23
 */
@Data
@Validated
public class InquiryItemSaveVo implements Serializable {
    @ApiModelProperty(value = "承运商")
    private String carrier;
    @ApiModelProperty(value = "报价")
    private String quotedPrice;
    @ApiModelProperty(value = "报价说明")
    private String quoteDescription;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "≤1吨")
    private String quotedPrice1;
    @ApiModelProperty(value = "≤3吨")
    private String quotedPrice2;
    @ApiModelProperty(value = "≤5吨")
    private String quotedPrice3;
    @ApiModelProperty(value = "≤10吨")
    private String quotedPrice4;
    @ApiModelProperty(value = "≤15吨")
    private String quotedPrice5;
    @ApiModelProperty(value = "≤20吨")
    private String quotedPrice6;
    @ApiModelProperty(value = "≤25吨")
    private String quotedPrice7;
    @ApiModelProperty(value = "≤30吨")
    private String quotedPrice8;
    @ApiModelProperty(value = "船公司")
    private String shippingCompany;
    @Pattern(regexp = "^(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*))$", message = "请输入数字")
    @ApiModelProperty(value = "海运费")
    private String shippingFee;
    @Pattern(regexp = "^(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*))$", message = "请输入数字")
    @ApiModelProperty(value = "港杂费")
    private String portCharges;
    @ApiModelProperty(value = "船期_ETD")
    private String shippingDateETD;
    @ApiModelProperty(value = "船期_ETA")
    private String scheduleEta;
    @ApiModelProperty(value = "起运港(箱使/天)")
    private String departurePortBoxAngel;
    @ApiModelProperty(value = "目的港(箱使/天)")
    private String destinationPortBoxAngel;
    @ApiModelProperty(value = "是否直达")
    private String isItDirect;
    @ApiModelProperty(value = "调整报价")
    private String adjustOffer;
}
